﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManaIndex.aspx.cs" Inherits="WorkRecord.AdminMana.ManaIndex" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>后台管理</title>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <link href="Static/demo.css" rel="stylesheet" />
    <script src="Static/boot.js"></script>
    <link href="Static/miniui/themes/blue/skin.css" rel="stylesheet" />
    <style type="text/css">
        body {
            margin: 0;
            padding: 0;
            border: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .header {
            background: url(img/header.gif) repeat-x 0 -1px;
        }

        .Note {
            background: url(img/Notes_Large.png) no-repeat;
            width: 32px;
            height: 32px;
        }

        .Reports {
            background: url(img/Reports_Large.png) no-repeat;
            width: 32px;
            height: 32px;
        }

        .header div {
            font-family: 'Trebuchet MS',Arial,sans-serif;
            font-size: 25px;
            line-height: 60px;
            padding-left: 10px;
            font-weight: bold;
            color: #333;
        }

        body .header .topNav {
            position: absolute;
            right: 8px;
            top: 10px;
            font-size: 12px;
            line-height: 25px;
        }

        .header .topNav a {
            text-decoration: none;
            color: #222;
            font-weight: normal;
            font-size: 12px;
            line-height: 25px;
            margin-left: 3px;
            margin-right: 3px;
        }

            .header .topNav a:hover {
                text-decoration: underline;
                color: Blue;
            }
    </style>
</head>
<body>
    <!--Layout-->
    <div id="layout1" class="mini-layout" style="width: 100%; height: 100%;">
        <div class="header" region="north" height="40" showsplit="false" showheader="false" style="padding-left: 2px">
            <h1 style="margin: 0; padding: 5px; cursor: default; font-family: 微软雅黑,黑体,宋体;">
                <%--<img style="border: 0px; height: 20px" src="img/logo.png" />--%></h1>

            <div class="topNav">
                <a href="/WorkView.aspx">首页</a>|
            <a href="/Login.aspx">退出系统</a>
            </div>
        </div>
       <%-- <div title="south" region="south" showsplit="false" showheader="false" height="25">
            <div style="line-height: 18px; text-align: center; cursor: default">
                Copyright ©  1990-2013
            </div>
        </div>--%>
        <div title="center" region="center" style="border: 0;" bodystyle="overflow:hidden;">
            <!--Splitter-->
            <div class="mini-splitter" style="width: 100%; height: 100%;" borderstyle="border:0;">
                <div size="180" maxsize="250" minsize="100" showcollapsebutton="true" style="border: 0;">
                    <!--OutlookTree-->
                    <div id="leftTree" class="mini-outlookmenu" url="Data/leftmenu.txt" onitemselect="onItemSelect"
                        idfield="id" parentfield="pid" textfield="text" borderstyle="border:0">
                    </div>
                </div>
                <div title="center" region="center" bodystyle="overflow:hidden;">
                    <iframe id="mainframe" frameborder="0" name="main" style="width: 100%; height: 100%;"
                        border="0"></iframe>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript">
        mini.parse();

        //init iframe src
        var iframe = document.getElementById("mainframe");
        iframe.src = "Page/CategoryManage.html";

        function onItemSelect(e) {
            var item = e.item;
            iframe.src = item.url;
        }
        function onClick(e) {
            var text = this.getText();
            alert(text);
        }
        function onQuickClick(e) {
            tree.expandPath("datagrid");
            tree.selectNode("datagrid");
        }
    </script>

</body>
</html>